package bo;

import java.sql.SQLException;

import dao.DAOFactory;
import exception.BoException;
import exception.DaoException;

public class EstadoBO extends NegocioBO{

	public void abrirConexion() throws BoException{
		try {
			DAOFactory daoFactory = new DAOFactory();
			this.dao = daoFactory.getEstadoDAO();
		} catch (SQLException aSqlException) {
			throw new BoException(aSqlException.getMessage());
		} catch (DaoException aDaoException) {
			throw new BoException(aDaoException.getMessage());
		} 

	}

}
